﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_cer.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Certificate.edit_cer" %>
<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
    <%int id = int.Parse(Request.QueryString["id"]);
      var get_cer = new TblCertificateController().FetchAll().Where(x => x.CerId == id).Single();
          
          %>
    <div class="w3-modal-content w3-animate-top w3-card-8 w3-teal" style="width: 30%">
            <header class="w3-padding w3-center">
                <span onclick="this.parentElement.parentElement.parentElement.style.display='none'" class="w3-closebtn">&times;</span>
                <p class="w3-xlarge">Chỉnh sửa trình độ</p>
            </header>
            <div id="edit_cer_id" class="w3-hide"><%=get_cer.CerId %></div>
            <div class="w3-padding w3-row">
                <input type="text" required="required" id="txt_edit_cer" placeholder="Trình độ" value="<%=get_cer.CerTitle %>" autofocus="autofocus" style="width: 100%; padding: 0.5%; color: black" />
            </div>
            <div class="w3-row w3-padding w3-center">
                <a class="btn_edit_cer w3-btn w3-teal w3-border w3-border-white"><i class="fa fa-save"></i>&nbsp;Lưu</a>
                <a class="btn_del_cer w3-btn w3-teal w3-border w3-border-white"><i class="fa fa-trash"></i>&nbsp;Xóa bằng</a>
            </div>
        </div>
</body>
</html>
